﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using JM.JCY.Common;
using NCS.IConnect.PolicyInjection.CallHandlers;
using JM.JCY.BusinessComponent;
using JM.JCY.BusinessEntity;
using JM.JCY.DataAccess;
using JM.JCY.BusinessEntity.PPSM2007;

namespace JM.JCY.BusinessFacade
{
    public class PPSM2007BF : JCYBusinessFacadeBase<PPSM2007BC>, IPPSM2007
    {
        public PPSM2007BF()
            : base(new PPSM2007BC())
        {
        }
        public PPSMUserInfoDataSet.UserInfoDataTable GetUserInfoByName(string userName)
        {
            return this.BusinessComponent.GetUserInfoByName(userName);
        }

        public PPSM2007CodeDataSet.T_PPSM2007CODEDataTable GetCodeDescByCategoryAndValue(string category, string value)
        {

            return this.BusinessComponent.GetCodeDescByCategoryAndValue(category, value);
        }

        public PPSM2007CodeDataSet.T_PPSM2007CODEDataTable GetPPSM2007CodeTable()
        {
            return this.BusinessComponent.GetPPSM2007CodeTable();
        }

        public PPSMUserInfoDataSet.UserCareerDataTable GetCareerByName(string userName)
        {
            return this.BusinessComponent.GetCareerByName(userName);
        }


        public PPSMUserEduInfoDataSet.UserEduInfoDataTable GetEduInfoByName(string userName)
        {
            return this.BusinessComponent.GetEduInfoByName(userName);
        }

        public PPSMUserEduInfoDataSet.UserTrainDataTable GetTrainInfoByName(string userName)
        {
            return this.BusinessComponent.GetTrainInfoByName(userName);
        }

        public PPSMUserRelationDataSet.UserRelationDataTable GetRelationInfoByName(string userName)
        {
            return this.BusinessComponent.GetRelationInfoByName(userName);
        }

        public PPSMUserAssessmentDataSet.UserAssessmentDataTable GeAssessmentInfoByName(string userName)
        {
            return this.BusinessComponent.GeAssessmentInfoByName(userName);
        }

        public PPSMUserAssessmentDataSet.UserGloryDataTable GeGloryInfoByName(string userName)
        {

            return this.BusinessComponent.GeGloryInfoByName(userName);
        }

        public PPSMUserAssessmentDataSet.UserPunishInfoDataTable GetPunishInfoByName(string userName)
        {

            return this.BusinessComponent.GetPunishInfoByName(userName);
        }

    }
}
